package com.workflow.user.dao.api;

/**
 * Data Access Object to manipulate with user account`s informations.
 * @author Tony
 */
public interface UserAccountDAO {

    /**
     * Method to create new useraccount in database. 
     * @param username which will be user`s login
     * @param password must be hashed
     * @return Long id of saved UserAccount
     */
    public Long save(String username, String password);
}
